apple_list = []

for apple in range(10):
    apple_list.append(apple)
for apple in range(10):
    apple_list.append(apple)

for apple in range(10):
    apple_list.append(apple)

for apple in range(10):
    apple_list.append(apple)

for apple in range(10):
    apple_list.append(apple)

print(apple_list)

def handle_(num):
    """
    num:循环的次数
    return:list结构
    """
    apple_list=[]
    for apple in range(10):
        apple_list.append(apple)
    for apple in range(10):
        apple_list.append(apple)

    for apple in range(10):
        apple_list.append(apple)

    for apple in range(10):
        apple_list.append(apple)

    for apple in range(10):
        apple_list.append(apple)
    return apple_list